package com.ctg.payroll2.bean.po.social;

import java.io.Serializable;
/**
 * 社保类型表
 * @author 鲁力 2009-9-1 上午09:41:52
 *
 */
public class PbSocialType implements Serializable {
	private static final long serialVersionUID = 249505093511090633L;
	private String social_security_id;
	private Long social_typeid;
	private String social_typename;
	private String is_valid;
	private String social_typecode;

	/**
	 * @return 返回is_valid
	 */
	public String getIs_valid() {
		if(this.is_valid==null){
			this.is_valid="1";
		}
		return is_valid;
	}
	/**
	 * @param is_valid 设置is_valid
	 */
	public void setIs_valid(String is_valid) {
		if(is_valid==null){
			this.is_valid = "1";
		}else if(is_valid.equals("true")){
			this.is_valid = "1";
		}else if(is_valid.equals("false")){
			this.is_valid = "0";
		}else{
			this.is_valid = is_valid;
		}
	}
	/**
	 * @return 返回social_typecode
	 */
	public String getSocial_typecode() {
		return social_typecode;
	}
	/**
	 * @param social_typecode 设置social_typecode
	 */
	public void setSocial_typecode(String social_typecode) {
		this.social_typecode = social_typecode;
	}
	/**
	 * @return 返回social_typeid
	 */
	public Long getSocial_typeid() {
		return social_typeid;
	}
	/**
	 * @param social_typeid 设置social_typeid
	 */
	public void setSocial_typeid(Long social_typeid) {
		this.social_typeid = social_typeid;
	}
	/**
	 * @return 返回social_typename
	 */
	public String getSocial_typename() {
		return social_typename;
	}
	/**
	 * @param social_typename 设置social_typename
	 */
	public void setSocial_typename(String social_typename) {
		this.social_typename = social_typename;
	}
	/**
	 * @return 返回social_security_id
	 */
	public String getSocial_security_id() {
		return social_security_id;
	}
	/**
	 * @param social_security_id 设置social_security_id
	 */
	public void setSocial_security_id(String social_security_id) {
		this.social_security_id = social_security_id;
	}
}
